package com.yupu.springboot_web.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yupu.springboot_web.domain.TPermission;

import java.util.List;

/**
* @author lenovo
* @description 针对表【t_permission(权限表)】的数据库操作Mapper
* @createDate 2025-03-19 15:14:23
* @Entity generator.domain.TPermission
*/
public interface TPermissionMapper extends BaseMapper<TPermission> {
    int deleteByPrimaryKey(Integer id);

    int insert(TPermission record);

    int insertSelective(TPermission record);

    TPermission selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TPermission record);

    int updateByPrimaryKey(TPermission record);

    List<TPermission> selectByUserId(Integer userId);
}




